import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
// 导入store 仓库
import  user from "./user.js"
import  cart from "./cart.js"
export default new Vuex.Store({

  modules: {
    user,
    cart
  }
})
